Don't leak the path. (#157301, Carlos Garnacho Parro)
authorMatthias Clasen <mclasen@redhat.com>
Thu, 4 Nov 2004 03:28:23 +0000 (03:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 4 Nov 2004 03:28:23 +0000 (03:28 +0000)
2004-11-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (new_folder_button_clicked):
Don't leak the path.  (#157301, Carlos Garnacho Parro)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c

index dd1f43ce117fc0d029482ae8cea5f520c35d6094..73bfec884a34947bcd425031b1be78efb459a664 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-11-03  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): 
+       Don't leak the path.  (#157301, Carlos Garnacho Parro)
+
        * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): Handle the 
        case that the protocol version in the context is not 
        set yet.  (#157123, James Henstridge)
index dd1f43ce117fc0d029482ae8cea5f520c35d6094..73bfec884a34947bcd425031b1be78efb459a664 100644 (file)
@@ -1,5 +1,8 @@
 2004-11-03  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): 
+       Don't leak the path.  (#157301, Carlos Garnacho Parro)
+
        * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): Handle the 
        case that the protocol version in the context is not 
        set yet.  (#157123, James Henstridge)
index dd1f43ce117fc0d029482ae8cea5f520c35d6094..73bfec884a34947bcd425031b1be78efb459a664 100644 (file)
@@ -1,5 +1,8 @@
 2004-11-03  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): 
+       Don't leak the path.  (#157301, Carlos Garnacho Parro)
+
        * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): Handle the 
        case that the protocol version in the context is not 
        set yet.  (#157123, James Henstridge)
index dd1f43ce117fc0d029482ae8cea5f520c35d6094..73bfec884a34947bcd425031b1be78efb459a664 100644 (file)
@@ -1,5 +1,8 @@
 2004-11-03  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): 
+       Don't leak the path.  (#157301, Carlos Garnacho Parro)
+
        * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): Handle the 
        case that the protocol version in the context is not 
        set yet.  (#157123, James Henstridge)
index 10fa42e40ab05561a12b9de7ae9140fb35f01d85..71bb4909f8bdf4d185a175bb22244f095414ca3e 100644 (file)
@@ -1557,6 +1557,8 @@ new_folder_button_clicked (GtkButton             *button,
                            path,
                            impl->list_name_column,
                            TRUE);
+
+  gtk_tree_path_free (path);
 }
 
 /* Idle handler for creating a new folder after editing its name cell, or for